//
//  TJMInePresent.h
//  BaoDian
//
//  Created by mac on 2024/8/6.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@class TJUserModel, TJStaffManageModel, TJStaffListModel;

@interface TJMinePresent : NSObject

+ (void)loginWithAccount:(NSString *)account password:(NSString *)password complete:(void (^__nullable)(NSError * _Nullable error))complete;
+ (void)getUserInfoComplete:(void (^__nullable)(TJUserModel *userModel, NSError * _Nullable error))complete;

+ (void)laodStaffManagerListComplete:(void (^__nullable)(NSArray *datas, NSError * _Nullable error))complete;
+ (void)createStaffWithGroupId:(NSString *)groupId account:(NSString *)account password:(NSString *)password realName:(NSString *)realName complete:(void (^__nullable)(NSError * _Nullable error))complete;
+ (void)laodStaffListWithPageIndex:(NSInteger)pageIndex groupId:(NSString *)groupId complete:(void (^__nullable)(NSArray *datas, NSError * _Nullable error))complete;

+ (void)douYinLicenseWithCode:(NSString *)code complete:(void (^__nullable)(TJUserModel * _Nullable model, NSError * _Nullable error))complete;
+ (void)enableStaffWithUserId:(NSString *)userId complete:(void (^__nullable)(NSError * _Nullable error))complete;
+ (void)disableStaffWithUserId:(NSString *)userId complete:(void (^__nullable)(NSError * _Nullable error))complete;
+ (void)deleteStaffWithUserId:(NSString *)userId complete:(void (^__nullable)(NSError * _Nullable error))complete;
+ (void)setPOI:(NSString *)poi complete:(void (^__nullable)(NSError * _Nullable error))complete;

+ (void)deleteStaffGroupWithGroupId:(NSString *)groupId complete:(void (^__nullable)(NSError * _Nullable error))complete;
+ (void)createStaffGroupWithActiveCode:(NSString *)activeCode name:(NSString *)name supplierId:(NSString *)supplierId complete:(void (^__nullable)(NSError * _Nullable error))complete;

+ (void)modifyStaffGroupWithGroupId:(NSString *)groupId name:(NSString *)name complete:(void (^__nullable)(NSError * _Nullable error))complete;
+ (void)loadActiveCodeListWithPageIndex:(NSInteger)pageIndex isUse:(BOOL)isUse complete:(void (^__nullable)(NSArray *datas, NSError * _Nullable error))complete;

+ (void)loadTaskDetailWithTaskId:(NSString *)taskId complete:(void (^__nullable)(NSArray *datas, NSString *remainTime,  NSError * _Nullable error))complete;
+ (void)loadTaskListWithPageIndex:(NSInteger)pageIndex complete:(void (^__nullable)(NSArray *datas, NSError * _Nullable error))complete;
+ (void)checkPoi:(NSString *)poi complete:(void (^__nullable)(NSError * _Nullable error))complete;
+ (void)checkPoi:(NSString *)poi clockPlanId:(NSString * _Nullable)clockPlanId complete:(void (^__nullable)(NSError * _Nullable error))complete;
+ (void)modifyName:(NSString *)name complete:(void (^__nullable)(NSError * _Nullable error))complete;

+ (void)loadClockInRecardListWithPageIndex:(NSInteger)pageIndex complete:(void (^__nullable)(NSArray *datas, NSError * _Nullable error))complete;
+ (void)getClockPlanShareIdWithId:(NSString *)Id complete:(void (^__nullable)(NSString *shareId, NSError * _Nullable error))complete;
+ (void)updateClockPlanWithId:(NSString *)Id status:(NSString *)status complete:(void (^__nullable)(NSError * _Nullable error))complete;

+ (void)forgetPassword:(NSString *)password mobile:(NSString *)mobile code:(NSString *)code complete:(void (^__nullable)(NSError * _Nullable error))complete;
+ (void)modifyPassword:(NSString *)password mobile:(NSString *)mobile code:(NSString *)code complete:(void (^__nullable)(NSError * _Nullable error))complete;
+ (void)sendCodeWithMobile:(NSString *)mobile complete:(void (^__nullable)(NSError * _Nullable error))complete;
+ (void)setPOI:(NSString *)poi clockPlanId:(NSString * _Nullable)clockPlanId complete:(void (^__nullable)(NSError * _Nullable error))complete;

@end

NS_ASSUME_NONNULL_END
